﻿/**
 * @file PyFITKMaterialsBase.h
 * @brief 材料基类 为python装饰器接口准备的封装类
 * @author wangning (2185896382@qq.com)
 * @date 2024-12-03
 */
#ifndef _PY_MATERIALS_BASE_H___
#define _PY_MATERIALS_BASE_H___


#include <QString>
#include "FITKAcousticsPhysicsAPI.h"

namespace Interface 
{
    class  FITKAbstractMaterial;
}

/**
 * @brief 材料基类 为python装饰器接口准备的封装类
 * @author wangning (2185896382@qq.com)
 * @date 2024-12-03
 */
namespace Acoustics
{
    class FITKAcousticsPhysicsAPI PyFITKMaterialsBase
    {
    public:
        explicit PyFITKMaterialsBase(const QString& name);
        explicit PyFITKMaterialsBase() = default;
        virtual ~PyFITKMaterialsBase() = default;

        /**
         * @brief  获取名称
         * @author wangning (2185896382@qq.com)
         * @date   2024-12-03
         */
        QString getName();
        /**
         * @brief  设置名称
         * @author wangning (2185896382@qq.com)
         * @date   2024-12-03
         */
        bool setName(const QString& name);

    protected:
        Interface::FITKAbstractMaterial* _material{};
    };
}

#endif